<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>邮件通知</title>
<%@include file="../core/head.jsp"%>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" href="${ctx}/css/core.css" type="text/css">
<link rel="stylesheet" href="${ctx}/css/exam.css" type="text/css">
<link rel="stylesheet" href="${ctx}/css/buttons.css" type="text/css">
<link rel="stylesheet" href="${ctx}/css/table.css" type="text/css">
<script type="text/javascript" src="${ctx}/js/modules/code/MessageBox.js"></script>
<style type="text/css">
.maintable {
	width: 100%;
	height: 200px;
	font-family: Arial, "宋体", Lucida, Verdana, Helvetica, sans-serif;
	font-size: 12px;
	margin: 5px;
}

.userlist {
	width: 100%;
	height: 100%;
	overflow: auto;
	background: #f2f2f2;
	border: 1px solid #CCC; text-align : left;
	line-height: 24px;
	text-align: left;
}

.context {
	vertical-align: top;
}

.title {
	margin-left: 5px;
	width: 100%;
}

.main {
	font: normal 14px arial;
}

.title input {
	height: 28px;
	width: 85%;
	color: #333;
	line-height: 26px;
	vertical-align: middle;
	border: 1px solid #CCC;
	outline: invert none 0px;
	padding: 4px;
	border: 1px solid #CCC;
	margin: 5px;
}

.context textarea {
	width: 100%;
	height: 300px;
	margin: 0px;
}
</style>
<script type="text/javascript">

$(function(){
	if("${noticedUsers ne null}"){
		$.MessageBox.info("操作成功");
	}

});
</script>
</head>

<body>
<%@include file="../exam/top.jsp"%>

<div class="width center menuPanel radius shadow">
<form action="${ctx }/user/notice.action" method="post">
	<table class="maintable" >
		<tr height="28">
			<td colspan="2"><span style="margin-left: 5px;">用户列表</span></td>
		</tr>
	
		<tr>
		<td width="200">
			<div class="userlist">
				<ul>
				<c:forEach var="user" items="${userList}">
					<li style="margin-left: 5px;"> <label><input type="checkbox" name="users" value="${user.id}"/> 
						 <span><c:out value="${user.nickname }"/></span></label></li>
				</c:forEach>
				</ul>
			</div>
		</td>
		<td>
		<div class="main">
		 	<div class="title">
					<label>标题：<input  type="text" name="message.title" value="${keyword }"/></label> 
				</div>
			 
			<div class="context">
			<textarea name="message.context"></textarea>
			</div>
			<div style="text-align: right;">
			 <input class="button green menuBut" type="submit" value="发送"/>	
			</div>  
		</div>
		</td>
		</tr>
	</table>
 
</form>
</div>

<%@include file="../core/bottom.jsp"%> 
	
</body>
</html>
